export const getRowBtnList = (type: string, chileType: string) => {
  const allBtn = {
    rollback: {
      name: '详情',
      typeChange: 'godetial',
      type: '3',
      func: details,
    },
  };

  const btnlist = <any>{
    '11': [allBtn.rollback],
    '21': [allBtn.rollback],
  };
  return btnlist[`${type}${chileType}`];
};
// 详情
const details = (param: any) => {
  console.log('详情', param.record);
  return Promise.resolve();
};

export default null;
